Repository navigation
Conversation
On the board, with a task open in the side panel, the header's board button did nothing, since the board was already the active view. It now closes the side panel, as its close button and Escape do, and returns focus to the task's card. A draft in the side panel stays, left to its own Cancel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On the board, once a task is opened beside it (by clicking its card), the header's board button did nothing: the board was already the active view. Now pressing it again closes the side panel, as the panel's
>close button and Escape do, and returns focus to the task's card. The board stays open.A new-task draft in the side panel is left alone, the same as with the close button: only its own Cancel discards it, after asking if anything was typed. With a GitHub issues page over the board, the button still closes that page as before.
Screenshots
A task opened beside the board by clicking its card (the starting point for both):
Then clicking the board button in the header (the third view icon, top left):
>button.Changes
WorkspaceControls.tsx: the board toggle closes the side panel (closeSidePanel) when the board is shown with a task peeked and no draft; every other click switches views as before.WorkspaceControls.client.test.tsx: new tests that the button closes the peeked task while keeping the board, and leaves a draft alone.Verification
npm run check: passes.npm test: passes. One unrelated test (markdown-blocks.test.ts) timed out once in a full run on a 4-core-capped machine and passed when rerun alone.🤖 Generated with Claude Code (Opus 5.5)